

# ListenerOptionsType

<div class="api-docs__separator" data-reactroot="">

---

</div><div class="api-docs__import" data-reactroot="">

```ts
import { ListenerOptionsType } from "@hyper-fetch/sockets"
```

</div><div class="api-docs__section">

## Description

</div><div class="api-docs__description"><span class="api-docs__do-not-parse">



</span></div><p class="api-docs__definition">

Defined in [listener/listener.types.ts:5](https://github.com/BetterTyped/hyper-fetch/blob/c44d728f/packages/sockets/src/listener/listener.types.ts#L5)

</p><div class="api-docs__section">

## Preview

</div><div class="api-docs__preview type">

```ts
type ListenerOptionsType<SocketOptions> = {
  name: string; 
  options: SocketOptions; 
}
```

</div><div class="api-docs__section">

## Structure

</div><div class="api-docs__returns">

```ts
{
  name: string;
  options: SocketOptions;
}
```

</div>